﻿@model List<CollegeReviewMVC.Model.College>
    <br />
@foreach (var c in Model) 
{
    <div class="well">
        <h3>@c.CollegeId</h3>
        <h1>@c.CollegeName</h1> <br />
        
        @foreach(var r in c.Reviews)
        {
            <h3>Reviewer Id:@r.ReviewId</h3>
            
            <h3>Comment: @r.ReviewPost</h3>
            <h3>Rating: @r.Rating</h3>           
            <h4>@r.DatePosted</h4>
        }
        @Html.ActionLink("Details", "Details", new { id = c.CollegeId }, new {@class= "btn btn-default"})
        
    </div>
}